// 促销员
import request from '@/utils/request'

export function list(data) {
  return request({
    url: '/api/salesperson/list',
    method: 'post',
    data: data
  })
}

export function create(data) {
  return request({
    url: '/api/salesperson/create',
    method: 'post',
    data: data
  })
}

export function update(data) {
  return request({
    url: '/api/salesperson/update',
    method: 'post',
    data: data
  })
}

export function delete_(data) {
  return request({
    url: '/api/salesperson/delete',
    method: 'post',
    data: data
  })
}
